<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld" %>

<stripes:layout-render name="/layout/default.jsp" pageTitle="Welcome to CSDCalendar">
    <stripes:layout-component name="contents">
        <stripes:form beanclass="durst.action.LoginActionBean" focus="">
            <table class="ui-widget ui-widget-content" style="border-width: 0px">
                <tr>
                    <td></td>
                    <td></td>
                    <td>
                        <stripes:errors globalErrorsOnly="true" />
                    </td>
                </tr>
                <tr>
                    <td><label>Username: </label></td>
                    <td colspan="2">
                        <stripes:text name="username" maxlength="20"/>
						<stripes:errors field="username" />
                    </td>
                </tr>
                <tr>
                    <td><label>Password: </label></td>
                    <td colspan="2">
                        <stripes:password name="password" maxlength="20"/>
						<stripes:errors field="password" />
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td></td>
                    <td>
                        <stripes:submit class="button brown" name="login" value="Login" />
                    </td>
                </tr>
            </table>
        </stripes:form>
        <stripes:form beanclass="durst.action.CreateAccountActionBean" focus="">
            <table class="ui-widget ui-widget-content" style="border-width: 0px">
                <tr>
                    <td></td>
                    <td></td>
                    <td>
                        <stripes:errors globalErrorsOnly="true"/>
                    </td>
                </tr>
                <tr>
                    <td><label>Username: </label></td>
                    <td colspan="2">
                        <stripes:text name="account.username" maxlength="20" />
						<stripes:errors field="account.username" />
                    </td>
                </tr>
                <tr>
                    <td><label>Password: </label></td>
                    <td colspan="2">
                        <stripes:password name="account.password" maxlength="20" />
						<stripes:errors field="account.password" />
                    </td>
                </tr>
				<tr>
                    <td><label>Confirm: </label></td>
                    <td colspan="2">
                        <stripes:password name="confirm" maxlength="20" />
						<stripes:errors field="confirm" />
                    </td>
                </tr>
                <tr>
                    <td><label>Email: </label></td>
                    <td colspan="2">
                        <stripes:text name="account.email" maxlength="45"/>
						<stripes:errors field="account.email" />
                    </td>
                </tr>
                <tr>
                    <td><label>First Name: </label></td>
                    <td colspan="2">
                        <stripes:text name="account.firstName" />
						<stripes:errors field="account.firstName" />
                    </td>
                </tr>
                <tr>
                    <td><label>Last Name: </label></td>
                    <td colspan="2">
                        <stripes:text name="account.lastName" />
						<stripes:errors field="account.lastName" />
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td></td>
                    <td>
                        <stripes:submit class="button brown" name="create" value="Create" />
                    </td>
                </tr>
            </table>
        </stripes:form>
    </stripes:layout-component>
</stripes:layout-render>